import { TagData } from "../../../entity/tag-data.model";

export class LimitedFarmCategory {
    constructor(
        public category: string,
        //public picture: string,
        public backgroundImg: string, 
        public color:string,       
        public background: string,
        public title: string,
        public terms: Term[], 
        ) {

    }
}
/**
 * 项对象
 * 
 * @export
 * @class PlanPowerPanel
 */
export class Term {
    /**
     * Creates an instance of PlanPowerPanel.
     * @param {string} title 项标题
     * @param {number} TagData 项值
     * @param {string} unit 项单位
     * @memberof PlanPowerPanel
     */
    constructor(
        public title: string,
        public value: TagData,
        public unit: string
    ) {

    }

}


// WEBPACK FOOTER //
// ./src/app/module/monitor/main/limited-farm-category.ts